/*
 * @Author: wrh123 482597539@qq.com
 * @Date: 2024-01-21 10:28:53
 * @LastEditors: wrh123 482597539@qq.com
 * @LastEditTime: 2024-01-21 10:58:17
 * @FilePath: /vue-admin/src/api/assessment.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import service from '@/utils/request'
// 挑战列表分页查询
export function getAssessmentList(params) {
  return service({
    url: '/assess/selectAccAssess',
    method: 'get',
    params
  })
}

// 挑战申请分页查询
export function getApplyList(params) {
  return service({
    url: '/ChallengeApplication/selectChallengeApplication',
    method: 'get',
    params
  })
}

// 挑战申请处理系统

export function handleApply(data) {
  return service({
    url: '/ChallengeApplication/updateChallengeApplication',
    method: 'put',
    data
  })
}

// 挑战申请处理手动
export function handleApplyManual(data) {
  return service({
    url: '/ChallengeApplication/updateChallengeApplicationManual',
    method: 'put',
    data
  })
}

// 申请账号回显处理
export function getChallengeApplication(params) {
  return service({
    url: '/ChallengeApplication/selectChallengeApplicationToll',
    method: 'get',
    params
  })
}


// 比赛提示信息
export function getChallengeApplicationTip(params) {
  return service({
    url: '/ChallengeApplication/selectCompetitionNameById/' + params,
    method: 'get',
  })
}